#pragma once
#include "XRectangle.h"
#include <vector>
#include <queue>

/**
@brief Plan D3D
Contient la liste des Albums en 3D
*/
class XPlan
{
	///List de XRectangle
	std::vector<XRectangle*>	_tab;
	///Pointeur sur un D3D device
	LPDIRECT3DDEVICE9	_device;
	///Nombre de XRectangle dans la liste
	int _num;
public:
	XPlan(void);
	~XPlan(void);

	void create(LPDIRECT3DDEVICE9 pDevice);
	void add(const wchar_t* imgFilename);
	void draw(LPDIRECT3DDEVICE9 pDevice);
	void move(wchar_t *imgFilename);
	void swap();
};
